<%--
  Created by IntelliJ IDEA.
  User: nguyentrongduy
  Date: 21/8/12
  Time: 8:02 AM
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" %>
<html>
<head>
  <meta name="layout" content="main">
  <title></title>
</head>
<body>

    <g:render template="/congNghe/createEditCongNghe/congNgheHeader" model="['step':1]"></g:render>

    <g:if test="${flash.message}">
        <div class="message" role="status">${flash.message}</div>
    </g:if>

    <g:hasErrors bean="${congNghe}">

        <ul class="errors" role="alert">
            <g:eachError bean="${congNghe}" var="error">
                <li <g:if test="${error in org.springframework.validation.FieldError}">data-field-id="${error.field}"</g:if>><g:message error="${error}"/></li>
            </g:eachError>
        </ul>
    </g:hasErrors>

    <g:form>
        <g:render template="form" model="['congNgheInstance':congNghe]"></g:render>

        <fieldset class="buttons marginTopMiddle">
            <g:submitButton name="huy" class="cancel" value="${message(code:'button.huy')}" />
            <g:submitButton name="tiep" class="save" value="${message(code:'button.tieptuc')}" />
        </fieldset>
    </g:form>

</body>
</html>